﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Tasks;

namespace Coevery.PhoneApp
{
    public partial class AboutUs : PhoneApplicationPage
    {
        public AboutUs()
        {
            InitializeComponent();
        }
        private void TextBlock_Hold(object sender, System.Windows.Input.GestureEventArgs e)
        {
            var task = new EmailComposeTask { To = "sales@novasoftware.com" };
            task.Show();
        }

        private void TextBlock_Hold_1(object sender, System.Windows.Input.GestureEventArgs e)
        {
            var task = new WebBrowserTask { Uri = new Uri("http://www.novasoftware.com/") };
            task.Show();
        }

        private void TextBlock_Hold_2(object sender, System.Windows.Input.GestureEventArgs e)
        {
            var task = new PhoneCallTask { PhoneNumber = "(+86 23) 68795169" };
            task.Show();
        }
    }
}